Exploring the impact of inter-smell relations in the maintainability of a system: An empirical study
نویسندگان
چکیده
Code smells are indicators of deeper problems in the design that may cause difficulties in the evolution of a system. While previous studies have mainly focused on studying the effects of individual smells on maintainability, we believe that interactions tend to occur between code smells. The research in this paper investigates the potential interactions amongst twelve different code smells, and how those interactions can lead to maintenance problems. Four medium-sized systems with equivalent functionality but dissimilar design were examined for smells. The systems were the object of several change requests for a period of four weeks. During that period, we recorded on a daily basis problems faced by developers and their associated Java files. The first analysis is based on Principal Component Analysis (PCA), to identify components formed by collocated code smells (i.e., smells located in the same file). Analysis on the nature of the problems, as reported by the developers in daily interviews and think-aloud sessions, revealed how some of the collocated smells interacted with each other, causing maintenance problems. Finally, we could observe that some interactions occur across files, for which we suggest integrating dependency analysis when analyzing effects of code smells on maintainability.
منابع مشابه
A Quantitative Evaluation of Maintainability of Software Architecture Styles
Proper decisions play a crucial role in any software architecture design process. An important decision of design stage is the selection of a suitable software architecture style. Lack of investigation on the quantitative impact of architecture styles on software quality attributes is the main problem in using such styles. Consequently, the use of architecture styles in designing is based on th...
متن کاملThe Impact of Service Quality on Customer Satisfaction and Loyalty in Indian Banking Sector: An Empirical Study through SERVPERF
This study examines the impact of service quality on customer satisfaction and Loyalty in Indian Banking sector by applying SERVPERF scale. A total of 50 customers of State bank of India, Mohan Nagar Township branch of Salem District in Tamilnadu were interviewed on convenient basis for the above purpose. Tools like Exploratory factor analysis. Inter-Correlation, Analysis of variance, Multiple...
متن کاملMaintainability measure based on operating environment, a case study: Sungun copper mine
The life cycle cost of a system is influenced by its maintainability. Maintainability is a design parameter, whose operational conditions can affect it significantly. Hence, the effects of these operational conditions should be quantified early in the design phase. The proportional repair model (PRM), which is developed based on the proportional hazard model (PHM), can be used to analyze mainta...
متن کاملImpact of Basel II Capital Accord on Small and Medium Size Enterprises (SME): An Empirical Study on a Group of Export Oriented SMEs
The purpose of this study is to find the relationship between lending to Small and Medium-size Exporter Enterprises (E-SMEs) and the use of Basel II Capital Accord for the first time in the banking system of Iran. Results showed that 96.69 percent of small firms were in the very low risk category of credit portfolio. This proof explains a consistent and balanced relationship between risk- weigh...
متن کاملMaintainability Policy for Deteriorating System with Inspection and Common Cause Failure (TECHNICAL NOTE)
A condition based preventive and corrective maintenance policy is proposed for a continuously operating system. The condition of the system is assumed to deteriorate with time. The model incorporates both deterioration as well as random common cause failures. The deterioration stages are modeled as discrete state processes. The system is put to random inspection to know the condition. The mean ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2012